﻿@ECHO OFF
SET DnnDirectory=C:\inetpub\wwwroot\DNN50101\
SET ModuleFolder=DNNspot-LiveChat-Admin

ECHO.
ECHO - Copying DLLs
xcopy /y /q "%~dp0bin\*.dll" "%DnnDirectory%bin\"

ECHO.
ECHO - Copying files
xcopy /s /y /q "%~dp0*.ascx" "%DnnDirectory%DesktopModules\%ModuleFolder%\"
xcopy /s /y /q "%~dp0*.ashx" "%DnnDirectory%DesktopModules\%ModuleFolder%\"

ECHO.
ECHO - Copying images
xcopy /s /y /q "%~dp0images\*.*" "%DnnDirectory%DesktopModules\%ModuleFolder%\images\"

ECHO.
ECHO - Copying CSS, JS files
xcopy /s /y /q "%~dp0*.css" "%DnnDirectory%DesktopModules\%ModuleFolder%\"
xcopy /s /y /q "%~dp0*.js" "%DnnDirectory%DesktopModules\%ModuleFolder%\"